From a89920de9a6e161e68fd8f67ccd379e54326351c Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 28 Jan 2004 12:57:05 +0000 Subject: [PATCH] Cosmetic bug fix -- quickbar contributions link shown for user page regardless of whether the user exists --- includes/SkinCologneBlue.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/SkinCologneBlue.php b/includes/SkinCologneBlue.php index b8e5de80b7..53655325bb 100644 --- a/includes/SkinCologneBlue.php +++ b/includes/SkinCologneBlue.php @@ -189,13 +189,13 @@ class SkinCologneBlue extends Skin { . $sep . $this->whatLinksHere() . $sep . $this->watchPageLinksLink(); - if ( Namespace::getUser() == $tns || Namespace::getTalk(Namespace::getUser()) == $tns ) { - $s .= $sep . $this->userContribsLink(); + if ( Namespace::getUser() == $tns || Namespace::getTalk(Namespace::getUser()) == $tns ) { if ( 0 != $wgUser->getID() ) { - $id=User::idFromName($wgTitle->getText()); - if ($id != 0) { - $s .= $sep . $this->emailUserLink(); - } + $id=User::idFromName($wgTitle->getText()); + if ($id != 0) { + $s .= $sep . $this->userContribsLink(); + $s .= $sep . $this->emailUserLink(); + } } } $s .= $sep; -- 2.20.1